package com.typhoon.spring_jdbctemplate.service;

import com.typhoon.spring_jdbctemplate.dao.support.PageQuery;
import com.typhoon.spring_jdbctemplate.dao.support.PageResult;
import com.typhoon.spring_jdbctemplate.entity.Task;

import java.util.Map;

/**
 * 任务接口
 *
 */
public interface TaskService {


    PageResult<Task> page(PageQuery pageQuery, Map<String,Object> params);

    int update(Task task);

    int insert(Task task);

    void doAssign(Task task);


}
